package com.deer.wms.system.manage.dao;

import com.deer.wms.project.root.mapper.SuperMapper;
import com.deer.wms.system.manage.model.DataDictDetail;
import com.deer.wms.system.manage.model.DataDictDetailCriteria;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author wei
 */
public interface DataDictDetailMapper extends SuperMapper<DataDictDetail> {
    /**
     * 查询List
     * @param criteria criteria
     * @return List<DataDictDetail>
     */
    List<DataDictDetail> findList(DataDictDetailCriteria criteria);

    /**
     * 数据字典编码
     * @param dataDictCode 数据字典编码
     * @return List<DataDictDetail>
     */
    List<DataDictDetail> findBydDataDictCode(@Param("dataDictCode") String dataDictCode);
}